Valley Mesh Git
Mirrored from https://github.com/K4BEN-AI-Slop/nomadnet-epub.git synced 17h ago
NomadNet EPUB — drop EPUBs; serve as Micron pages
>NomadNet EPUB
Drop EPUBs in a folder; serve them as public NomadNet Micron pages.
Install
T282828
pip install nomadnet-epub
pip install nomadnet T8b949e# required for `serve`
From a git checkout:
T282828
python3 -m venv .venv Tff7b72&& Tffa657source .venv/bin/activate
pip install -e .
pip install nomadnet
Reticulum should already be configured (T383838~/.reticulum). NomadNet runtime data lives under T383838data_dir (default T383838./data/nomadnetwork).
Quick start
T282828
nomadnet-epub init T8b949e# writes nomadnet-epub.toml + epubs/
T8b949e# edit nomadnet-epub.toml
cp book.epub epubs/
nomadnet-epub serve
T383838serve converts EPUBs, syncs NomadNet config from your TOML, starts T383838nomadnet --daemon, watches T383838epubs/, and restarts NomadNet when books change.
One-shot convert (no daemon):
T282828
nomadnet-epub convert
Config
Everything lives in T383838nomadnet-epub.toml (see T383838nomadnet-epub.toml.example):
T282828
Te6edf3index_title Tff7b72= Ta5d6ff"Ta5d6ffBen's LibraryTa5d6ff" T8b949e# heading on index.mu
Te6edf3description Tff7b72= Ta5d6ff"Ta5d6ffMesh EPUB readerTa5d6ff" T8b949e# tagline under the heading
Te6edf3node_name Tff7b72= Ta5d6ff"Ta5d6ffbens-epub-libraryTa5d6ff" T8b949e# NomadNet announce name
Te6edf3credits Tff7b72= Tff7b72true T8b949e# Host your own footer on index.mu
Te6edf3epubs Tff7b72= Ta5d6ff"Ta5d6ff./epubsTa5d6ff"
Te6edf3data_dir Tff7b72= Ta5d6ff"Ta5d6ff./data/nomadnetworkTa5d6ff"
Te6edf3words Tff7b72= T79c0ff350
Te6edf3images Tff7b72= Ta5d6ff"Ta5d6ffnoneTa5d6ff" T8b949e# or "files"
┌─────────────┬───────────────────────────────────────────────────────────────────────┐
│ Key │ Purpose │
├─────────────┼───────────────────────────────────────────────────────────────────────┤
│ T383838index_title │ Rendered as the T383838> heading on T383838index.mu │
│ T383838description │ Text under the heading on T383838index.mu │
│ T383838node_name │ NomadNet network announce name (synced into T383838data_dir/config on T383838serve) │
│ T383838credits │ Show GitHub / T383838pip install footer on T383838index.mu (default T383838true) │
│ T383838epubs │ Folder to watch for T383838.epub files │
│ T383838data_dir │ NomadNet pages/files/state (not your main T383838~/.nomadnetwork) │
│ T383838words │ Approx. words per reader page │
│ T383838images │ T383838none or T383838files │
└─────────────┴───────────────────────────────────────────────────────────────────────┘
CLI flags override the file when passed (T383838--index-title, T383838--node-name, …).
Notes
• Book indexes use the EPUB table of contents; in-book links resolve to Micron pages.
• EPUB downloads are on each book index, not the root catalog.
• Browse from NomadNet / MeshChat / Sideband. No page auth is configured.
Served by rngit 1.4.2 - Generated in 0.07s